package sample.asphalt2.control
{
	import asphalt2.control.AbstractControl;
	
	import flash.events.MouseEvent;
	
	import sample.ProjectListPage;
	import sample.ProjectNumberingInputPage;
	import sample.asphalt2.processor.PopupOpenProcessor;
	
		
	public class ProjectListControl extends AbstractControl
	{
		override public function setup():void{
			var page:ProjectListPage = ProjectListPage(UI);
			
			page.newInputButton.addEventListener(MouseEvent.CLICK,new PopupOpenProcessor(this,ProjectNumberingInputPage).handle);
		}
	}
}